import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

class AppTheme {
  static const Color defColor = Color(0xFF787878);
  static const Color appBarTextColor = Color(0xFF9A9A9A);
  static const Color selectColor = Color(0xffE6618C);

  static AppBarTheme _appbarTheme() {
    return AppBarTheme(
      color: Colors.white,
      elevation: 0,
      brightness: Brightness.light,
      textTheme: TextTheme(
        headline6: TextStyle(color: appBarTextColor, fontSize: 18),
      ),
      iconTheme: IconThemeData(color: appBarTextColor),
    );
  }

  static final ThemeData appThemeData = ThemeData(
    primaryColor: selectColor,
    accentColor: selectColor,
    scaffoldBackgroundColor: Colors.white,
    appBarTheme: _appbarTheme(),
    textTheme: GoogleFonts.poppinsTextTheme(),
  );
}
